﻿using BCDto.Sim.Admin.Admin;
using BCDto.Sim.Admin.AdminPermissionRecord;
using System.Collections.Generic;

namespace BCService.Sim.Admin.AdminPermissionRecord
{
    /// <summary>
    /// 员工权限记录
    /// </summary>
    public interface IAdminPermissionRecordService
    {
        /// <summary>
        /// 添加员工权限记录
        /// </summary>
        /// <param name="requestDto">员工权限记录</param>
        /// <returns></returns>
        AdminPermissionRecordDto Setting(AdminPermissionRecordRequestDto requestDto);
        /// <summary>
        /// 获取员工权限记录列表
        /// </summary>
        /// <param name="staffOrganizationMappingRecordId">员工角色Id</param>
        /// <returns></returns>
        IEnumerable<AdminPermissionRecordDto> GetList(long staffOrganizationMappingRecordId);

        /// <summary>
        /// 删除员工权限
        /// </summary>
        /// <param name="staffOrganizationMappingRecordId">员工角色Id</param>
        /// <param name="operationPermissionRequest">员工权限信息</param>
        AdminPermissionRecordDto Delete(long staffOrganizationMappingRecordId, string operationPermissionRequest);
    }
}
